<h3 style="padding:1.5rem;width:20%;outline:none;" (click)="back()"><img alt="" src="../../../assets/icons/back2.png" style="margin-right: 1rem;width:1rem;"></h3>
<div class="withdraw">
	<div class="first-step" *ngIf="active === 1">
        <h3>收款地址</h3>
		<div class="input-box">
			<input type="text" [(ngModel)]="data.toAddress" (ngModelChange)="validAddress()" placeholder="请输入或粘贴收款地址" />
        </div>
        <h3>转账金额</h3>
		<div class="input-box valid-box">
            <input type="number" placeholder="请填写提币数额" [(ngModel)]="data.amount" />
            <a (click)="getAll()">全部账户余额</a>
        </div>
        <p>账户余额（USDT）：{{res.availableBalance}}</p>
		<a class="btn-primary" (click)="next()">下一步</a>
	</div>
	<div class="second-step" *ngIf="active === 2">
        <h3>支付密码<a routerLink="/updatePwd/2">忘记支付密码?</a></h3>
		<pay-password [(ngModel)]="data.tradePw"></pay-password>
		<button class="btn-primary" (click)="sub()">确认提币</button>
	</div>
</div>
